.nav {
  width: 100%;
  height: 60px;
  background-color: #f07775;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  box-sizing: border-box;
  .logo {
    width: 15%;
    height: 100%;
    background-color: transparent;
    padding: 4px;
    .logo-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 30%;
    .txt {
      cursor: pointer;
      color: white;
      font-size: 16px;
      font-weight: 600;
      font-family: PingFang SC, HarmonyOS_Regular, Helvetica Neue,
        Microsoft YaHei, sans-serif !important;
    }
    .txt:hover {
      animation: navtxt 0.5s linear forwards;
    }
  }
  .other {
    display: flex;
    gap: 80px;
    .userInfo {
      display: flex;
      align-items: center;
      gap: 18px;
      .userName {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: white;
        font-size: 16px;
        font-weight: 600;
        font-family: PingFang SC, HarmonyOS_Regular, Helvetica Neue,
          Microsoft YaHei, sans-serif !important;
      }
    }
    .login-out {
      display: flex;
      align-items: center;
      cursor: pointer;
      color: white;
      font-size: 16px;
      font-weight: 600;
      font-family: PingFang SC, HarmonyOS_Regular, Helvetica Neue,
        Microsoft YaHei, sans-serif !important;
    }
    .avator {
      display: flex;
      width: 50px;
      height: 50px;
      background-color: #d3d3d3;
      border-radius: 50%;
      cursor: default;
      .avator-img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%
      }
    }
  }
}
.upload {
  display: flex;
  width: 50px;
  height: 50px;
}
@keyframes navtxt {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}
